package com.bw.sercise;

import com.bw.bean.DataBean;
import com.bw.mapper.Datamapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @author 徐金浩
 * @date 2025年10月11日 9:31
 */
@Service
public class DataserciseImpl implements Datasercise {
    @Autowired
    private Datamapper datamapper;


    @Override
    public List<DataBean> select1() {
        return datamapper.select1();
    }

    @Override
    public List<DataBean> select2() {
        return datamapper.select2();
    }

    @Override
    public List<DataBean> select3() {
        return datamapper.select3();
    }

    @Override
    public List<DataBean> select4() {
        return datamapper.select4();
    }
}
